Update the style of the slide