profile update bug fix