UPDATE
  tms.tlk_grade_registration
SET
  LASTMODIFIED = '#{LASTMODIFIED}',
  ITEM_BACKGROUNDSTATUS = '#{ITEM_BACKGROUNDSTATUS}',
  ITEM_APPLYSTATUS = '#{ITEM_APPLYSTATUS}'
WHERE
  ID = REPLACE (
    '#{ID]',
    '__c5LTCeEmS52OWaNZpdZ',
    '__4xps3fR1UmijuSMS7as'
  )
  and ITEM_BACKGROUNDSTATUS ='5'