Updates the style