modify toc file