replace old node with new node, fixes