Fix path issues with update hook
Merge pull request #242 from Quinella/hooks

Fix path issues with update hook