update pages with new layout