update categories for new post