update Layout and Routes