update profile functionality added