retrive new toc when document is re-formatted