fix bug
change save to update