updating slide content
fixing string input value when offline