update trigger_id variable