Update table of contents anchors.