Fixed a bug that was making it impossible to update the user's profile;