added feature to update profile from client view