update profile and scope in show