changed trigger event to modify