code: def test_bmrfo_update():
      new_function = function.Function(
          pointer=Knapsack(
              values=(55, 10, 47, 5, 4),
              weights=(95, 4, 60, 32, 23),
              max_capacity=100,
          )
      )
  
      new_bmrfo = bmrfo.BMRFO()
  
      boolean_space = boolean.BooleanSpace(n_agents=100, n_variables=5)
  
      new_bmrfo.update(boolean_space, new_function, 1, 20)
  
file_path: opytimizer/tests/opytimizer/optimizers/boolean/test_bmrfo.py
imports: import numpy
  from opytimark.markers.boolean import Knapsack
  import opytimizer.math.random
  from opytimizer.core import function
  from opytimizer.optimizers.boolean import bmrfo
  from opytimizer.spaces import boolean
label_desc: Use image node_id 6 for calling a global function with example usage: test_bmrfo_update() without return types