Add updateState and touch functions
Merge branch 'master' of github.com:bryankane/tc-chat