Update style and layout.