code: def test_in_memory_action_graph_store_update(
      in_mem_graph_store: InMemoryActionGraphStore,
      verify_key: SyftVerifyKey,
  ) -> None:
      action_obj_node: NodeActionData = create_action_obj_node(
          verify_key
      )
      result = in_mem_graph_store.set(
          action_obj_node, credentials=verify_key
      ).ok()
      update_node = NodeActionDataUpdate(
          status=ExecutionStatus.DONE, is_mutagen=True, is_mutated=True
      )
      result2 = in_mem_graph_store.update(
          uid=result.id, data=update_node, credentials=verify_key
      ).ok()
      assert result2.id == result.id
      assert (
          in_mem_graph_store.get(result.id, verify_key).ok() == result2
      )
      assert result2.status == ExecutionStatus.DONE
      assert result2.is_mutagen is True
      assert result2.is_mutated is True
      assert isinstance(result2.updated_at, DateTime)
  
imports: import os
  from pathlib import Path
  import tempfile
  from threading import Thread
  import networkx
  from result import Err
  from syft.node.credentials import SyftVerifyKey
  from syft.service.action.action_graph import ExecutionStatus
  from syft.service.action.action_graph import InMemoryActionGraphStore
  from syft.service.action.action_graph import InMemoryGraphConfig
  from syft.service.action.action_graph import InMemoryStoreClientConfig
  from syft.service.action.action_graph import NetworkXBackingStore
  from syft.service.action.action_graph import NodeActionData
  from syft.service.action.action_graph import NodeActionDataUpdate
  from syft.service.action.action_graph import NodeType
  from syft.service.action.action_graph_service import ExecutionStatusPartitionKey
  from syft.service.action.action_object import Action
  from syft.service.action.action_object import ActionObject
  from syft.store.document_store import QueryKeys
  from syft.store.locks import NoLockingConfig
  from syft.types.datetime import DateTime
  from syft.types.syft_metaclass import Empty
  from syft.types.uid import UID
  from .fixtures import create_action_node
  from .fixtures import create_action_obj_node
label_desc: Use image node_id 14 for calling a global function with example usage: test_in_memory_action_graph_store_update(in_mem_graph_store, verify_key) without return types