Update the layout and styles