When entering a heading and executing the cell, the ToC is not updated. Only after re-enabling the ToC via the button in the toolbar.