updating the style