change model event to saving