Update layout and styles.