Partial implementation of the save changes