Fixed update password bug.