If your table of contents requires editing, edit the actual paragraphs in the document—not the table of contents story—and then generate a new table of contents. If you edit the table of contents story, you’ll lose your revisions when you generate a new table of contents. For the same reason, you should edit the styles used to format the table of contents entries, rather than formatting the table of contents directly.