Fixed password issue while updating User entity