Fix update password

fix error on new password length causing infinite loading