add upgrade hook
Merge pull request #13 from mikemccracken/add-upgrade-hook

add upgrade hook