I am using necessary Codes for TOC for my contents in the Document. And I am getting proper TOC for all the contents I am including in the document as well.
But the problem arises when I delete any particular content of the document, as per my necessity. but the TOC does not seem to get updated accordingly. It also shows the deleted content headings , whereas they should not be present in the TOC(because they are deleted).
What should i do to make the TOC dynamic?
Thanks & Regards