splitting updateCounters