adopt renamed hooks
Merge pull request #5 from teohm/rename_hooks

Use renamed hooks.