code: def _overwrite_dict(old_dict, new_dict):
      updated_old = {}
      # copy the old dict
      for key, value in old_dict.items():
          updated_old[key] = value
      # overwrite the existing and add the new values
      for key, value in new_dict.items():
          updated_old[key] = value
      return updated_old
  
imports: from multiprocessing import cpu_count
  from typing import Any, Dict, List, Sequence, Tuple, Type, TypeVar, Union
  import GPy
  import GPyOpt
  import numpy
  from GPyOpt.core import errors
  from hypertunity import utils
  from hypertunity.domain import Domain, Sample
  from hypertunity.optimisation.base import EvaluationScore, ExhaustedSearchSpaceError, Optimiser
label_desc: Use image node_id 1 for calling a global function with example usage: _overwrite_dict(old_dict, new_dict) and returns: updated_old