add post save hook
add category model