save changes to the player