fix the update profile