updated hosts_file state