add before/after on category object
create hook documentation and fix contribute part