fix triggering of group update counts. improves the basic code which is also responsible for user counts. i did not find regressions, please doublecheck