Update counter.coffee