Update listAllNetworks to listNetworks