Merge pull request #2 from neilhan/master

Trying the pull request
Added updating function to the app.