updating settings with debug and allowed hosts