Why do you need to edit the hyperlinks? If you need to update
them so that they point to new or modified headings it is
sufficient to place the cursor in the TOC field and to press F9.
If you see the Update table of contents window, select to update
the entire table and then click OK.