updating pycounter