Fixed password bug when updating user by removing a line from the update() function