update slide, add update config method.