modify layouts with new styles.