update application layout and styles.