Updates the layout for the home page.