update the table of contents.