code: def update(
      source, source_mapper, dest, old_prefix, synchronize_pairs
  ):
      for l, r in synchronize_pairs:
          try:
              oldvalue = source_mapper._get_committed_attr_by_column(
                  source.obj(), l
              )
              value = source_mapper._get_state_attr_by_column(
                  source,
                  source.dict,
                  l,
                  passive=PassiveFlag.PASSIVE_OFF,
              )
          except exc.UnmappedColumnError as err:
              _raise_col_to_prop(False, source_mapper, l, None, r, err)
          dest[r.key] = value
          dest[old_prefix + r.key] = oldvalue
  
file_path: sqlalchemy/lib/sqlalchemy/orm/sync.py
imports: from __future__ import annotations
  from .None import exc
  from .None import util
  from .base import PassiveFlag
label_desc: Use image node_id 4 for calling a global function with example usage: update(source, source_mapper, dest, old_prefix, synchronize_pairs) without return types