2 new function to update network and propertyGraph.