Merge "Implement updateCounter() by using existing entry adding methods."