update the trigger