Update the table of contents.