added periodic updates of hosts list