Why do you run updateCount() here?