update profile functions