Update the nodes to account for ref changes