update post categories