updates hosts