fix api after ph updates
Merge branch 'master' of github.com:karan/Hook