docstr: Update config and load the new values
docstr_tok: ["Update","config","and","load","the","new","values"]
code: def update_config(self, config):
      """Update config and load the new values"""
      # traitlets prior to 4.2 created a copy of self.config in order to trigger change events.
      # Some projects (IPython < 5) relied upon one side effect of this,
      # that self.config prior to update_config was not modified in-place.
      # For backward-compatibility, we must ensure that self.config
      # is a new object and not modified in-place,
      # but config consumers should not rely on this behavior.
      self.config = deepcopy(self.config)
      # load config
      self._load_config(config)
      # merge it into self.config
      self.config.merge(config)
  
imports: from __future__ import print_function, absolute_import
  from copy import deepcopy
  import warnings
  from .loader import Config, LazyConfigValue, _is_section_key
  from traitlets.traitlets import HasTraits, Instance, observe, observe_compat, default
  from ipython_genutils.text import indent, dedent, wrap_paragraphs
label_desc: Use image node_id 6 for calling the Configurable obj's underlying member method code with example usage: obj.update_config(config) without return types