simplify the `save_changes` method