Add update-on-hook for git hooks, closes #13