Update all counts when updating categories