change save method