update toc-var