Saving changes from previous edit