finish update profile func