UPDATE
  taUsers
SET
  Status = @nStatus,
  Office365Email = @aOffice365EmailEdit,
  EmailAddress = COALESCE(EmailAddress, @aOffice365EmailEdit),
  TeamLeaderID = @nTeamLeaderID,
  UserBillingGroupID = @nUserBillingGroupID,
  EmployeeCode = @aEmployeeCode,
  TargetAmount = @nTargetAmount,
  AllowTravel = @nAllowTravel,
  IsResource = @nIsResource,
  MapReference = @aMapReference,
  VehiclePurchasePrice = @nVehiclePurchasePrice,
  VehiclePurchaseDate = @dVehiclePurchaseDate,
  VehicleMake = @aVehicleMake,
  VehicleModel = @aVehicleModel,
  VehicleRegYear = @nVehicleRegYear,
  VehicleNumberPlate = @aVehicleNumberPlate,
  ReviewLevel = @nReviewLevel,
  HomePage = @aHomePage,
  AllowedRegions = @aAllowedRegions,
  AllowedProducts = @aAllowedProducts
WHERE
  (UserID = @nUserID)
