update to global counters

update to global counters