Update hook to sails v0.11+ format