Separate toc init and toc refresh