update post with table of contents