Updates page layout