updating slide content