Add small util functions
Add setInterval updating to example