Update getNetwork.R