How to update the table of contents in Google Docs

On a computer browser I can update a Google Docs table of contents by clicking on the icon in the top-left corner of the table:

Update table of contents

How can I do the same in the Google Docs Android app?