changed model values save and restore them