update counter demo
add position demo