added commit in deleteNetwork.