Update data, markup and styles.