updated profile details sql