update counter html