Update the node reference.