Updates hosts and VMs with their metrics.