updated the layouts and pages