code: def test_action_graph_service_update(
      in_mem_action_graph_service: ActionGraphService,
      authed_context: AuthedServiceContext,
  ) -> None:
      action_obj_d = ActionObject.from_obj([1, 2, 3])
      in_mem_action_graph_service.add_action_obj(
          context=authed_context, action_obj=action_obj_d
      )
      action = Action(
          path="action.execute",
          op="np.array",
          remote_self=None,
          args=[action_obj_d.syft_lineage_id],
          kwargs={},
      )
      action_node, _ = in_mem_action_graph_service.add_action(
          context=authed_context, action=action
      )
      update_data = NodeActionDataUpdate(
          status=ExecutionStatus.DONE,
          is_mutagen=True,
          is_mutated=True,
          next_mutagen_node=UID(),
          last_nm_mutagen_node=UID(),
      )
      updated_node: NodeActionData = in_mem_action_graph_service.update(
          context=authed_context,
          uid=action_node.id,
          node_data=update_data,
      )
      assert updated_node.id == action_node.id
      assert updated_node.type == NodeType.ACTION
      for k, v in update_data.to_dict(exclude_empty=True).items():
          assert getattr(updated_node, k) == v
  
imports: from syft.node.credentials import SyftSigningKey
  from syft.node.credentials import SyftVerifyKey
  from syft.node.worker import Worker
  from syft.service.action.action_graph import ExecutionStatus
  from syft.service.action.action_graph import InMemoryActionGraphStore
  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 ActionGraphService
  from syft.service.action.action_object import Action
  from syft.service.action.action_object import ActionObject
  from syft.service.context import AuthedServiceContext
  from syft.service.response import SyftError
  from syft.service.response import SyftSuccess
  from syft.types.datetime import DateTime
  from syft.types.uid import UID
label_desc: Use image node_id 6 for calling a global function with example usage: test_action_graph_service_update(in_mem_action_graph_service, authed_context) without return types