updateCounts(...) added