update page layouts with header and footer