update counter