update implementation for MaxCounters