def update_config(new_config):
flask_app.base_config.update(new_config)<EOL>if '<STR_LIT>' in new_config:<EOL><INDENT>wd = os.path.abspath(new_config['<STR_LIT>'])<EOL>if nbmanager.notebook_dir != wd:<EOL><INDENT>if not os.path.exists(wd):<EOL><INDENT>raise IOError('<STR_LIT>' % wd)<EOL><DEDENT>nbmanager.notebook_dir = wd<EOL><DEDENT><DEDENT>
Update config options with the provided dictionary of options.