update new nodes
update new edges