Updating categories in the performance queries