update the style