bug fix update profile