update profile error fix