Update with class template and styles.