update the post category to categories.