added function to upload PropertyGraphNetwork.