def METHOD_NAME(self, algorithm_name, algorithm_values):
    """
    set new algorithm parameters to
    :param str algorithm_name:
    :param dict algorithm_values:
    """
    self.history[self.history_index + 1] = self.history[self.history_index + 1].copy(
        update={"roi_extraction_parameters": {"algorithm_name": algorithm_name, "values": algorithm_values}}
    )