rename profiles to queries