add TOC and scaffold relations