update hosts and to