Update README.md

A more interesting example where the state is being updated every second.