updates table of contents