Updating the TOC with links