code: def test_stoa_update():
      search_space = search.SearchSpace(
          n_agents=2,
          n_variables=2,
          lower_bound=[1, 1],
          upper_bound=[10, 10],
      )
  
      new_stoa = stoa.STOA()
  
      new_stoa.update(search_space, 1, 10)
  
imports: import numpy
  from opytimizer.optimizers.swarm import stoa
  from opytimizer.spaces import search
label_desc: Use image node_id 3 for calling a global function with example usage: test_stoa_update() without return types