select updatestatus as ups
from dorganization
where OrgID=#URL.OrgID#
Update dOrganization
Set OrganizationName='#form.OrganizationName#',
Phone='#FinalPhoneNumber#',
Extension='#form.Extension#',
Division='#form.Division#',
FaxNumber='#FinalFaxNumber#',
TimeZone='#form.TimeZone#',
Address1='#form.Address1#',
EmailName='#form.EmailName#',
GeoServiceID='#form.GeoServiceID#',
Address2='#form.Address2#',
Hotline='#FinalHotline#',
City='#form.City#',
StateOrProvince='#form.State#',
URL='#form.URL#',
PostalCode='#form.PostalCode#',
Country='#form.Country#',
GraphicURL='#form.GraphicURL#',
Profile='#form.Profile#',
updateStatus = '2''1''2'
Where OrgID=#URL.OrgID#