adding a periodic updating example