updating allowed hosts