Update counter.txt