update post's category