Update password bug fix