added simple update counter