Add sync_trigger, drop_trigger and create_trigger functions