Updating TOC generation.