minor refactor and add update cache shortcut
Merge pull request #10 from dimagi/shortcuts

minor refactor and add update cache shortcut