Updating allowed hosts.