update slide style.