private void doUpdate() {
		updateIncomingReferences(currentFunction);
		updateOutgoingReferences(currentFunction);
		setStale(false);
	}
NB: This is key as well.

this is called in the doSetFunction method
Ghidra/Features/DecompilerDependent/src/main/java/ghidra/app/plugin/core/decompiler/taint/TaintSliceTreeProvider.java