update to counters