update toc generation