Update main page layout.