hi! i did not find some way to make it auto-update on open, it seems it always required to manual update the table of contents.
the only way to make it work will be to generate the TOC programmatically also, but that will probably be complex, i'm opening an issue to evaluate this in the future