change update.go -> trigger.go