change syntax of trigger.sql