Update style and layout