update profile table