Update allowed hosts during deploy