Saving changes for revert.