update tag count