change save redirection and refactor update method