Added $trigger_events parameter to save