store final changes