## update_fields() {#default} Updates the values of fields in the whole document. ```python def update_fields(self): ... ``` ### Remarks When you open, modify and then save a document, Aspose.Words......Examples Shows how to insert a Table of contents (TOC) into a document...DocumentBuilder(doc=doc) # Insert a table of contents for the first page...