Updates table of contents.