update the slide