code: def build_update(update):
      """Convert update string to dict format
  
      String format must be <attr name>=<value>
      """
      attribute, value = update.split("=")
  
      if attribute not in VALID_UPDATE_ATTRS:
          raise ValueError(
              f"Invalid update attribute `{attribute}`. Must be one of {VALID_UPDATE_ATTRS}"
          )
  
      return {attribute: value}
  
file_path: orion/src/orion/core/cli/db/set.py
imports: import argparse
  import logging
  import sys
  import orion.core.io.experiment_builder
  from orion.core.utils.pptree import print_tree
  from orion.core.utils.terminal import confirm_name
label_desc: Use image node_id 4 for calling a global function with example usage: build_update(update) and returns: dict