use the correct categories when updating the performance counters.