Update content and layout