private static void Update() { Console.WriteLine("Try to update data"); var hosts = new List <HostInfo>(); foreach (var host in _cfg.Hosts) { var client = new DBClient(host.Connection); var dbList = client.GetInfo(); hosts.Add(new HostInfo(host.ServerID, dbList, host.DiskSpace)); } _google.Update(hosts); }