updaitng allowed hosts