update for 0.6.0 changes

hooks are passed postData or topicData no need to call db again to get content or title
Merge pull request #14 from barisusakli/patch-2

update for 0.6.0 changes