update counter style