apply style changes