change save logic