fix live updating
Merge pull request #2 from nolanlawson/live-updating

fix live updating