UPDATE
  tbAppointmentTypes
SET
  ProductCategory = @aProductCategory,
  AppointmentType = @aAppointmentType,
  TypeDescription = @aTypeDescription,
  BillingRule = @nBillingRule,
  UnitOfMeasureID = @nUnitOfMeasureID,
  IsService = @bIsService,
  IsClientMatter = @bIsClientMatter,
  AlwaysAllowed = @bAlwaysAllowed,
  IsActive = @bIsActive,
  LeadTimeApplies = @bLeadTimeApplies,
  UseTypeRate     = @bUseTypeRate
WHERE
  (AttendanceTypeID = @nAttendanceTypeID)
