**Describe the bug** When the chartRef changes. The entry still points to the original reference rather than being updated.