Fixed a mistake when validating updateProfile