Fix logic in updater.py with respect to Counter class