Update and reset password.