fix update password issue