update styles from templates