Hooks in mongo models