update the style.