code: def test_parameters_changed_correct():
      """Check the parameters change correctly and are they updated correctly"""
      input_ts = small_ts_dataset()
  
      # Get simple pipeline for time series forecasting
      ts_pipeline = get_simple_ts_pipeline()
      ts_pipeline.nodes[-1].parameters = {"window_size": 8}
      ts_pipeline.fit(input_ts)
  
      # Correct window_size parameter to new value
      ts_pipeline.nodes[1].parameters = {"window_size": 3}
  
      content_params = ts_pipeline.nodes[1].content["params"]
      custom_params = ts_pipeline.nodes[1].parameters
      descriptive_id = ts_pipeline.nodes[1].descriptive_id
      assert content_params == custom_params
      assert "3" in descriptive_id
  
imports: import numpy
  from fedot.core.data.data import InputData
  from fedot.core.repository import tasks
  from fedot.core.repository.dataset_types import DataTypesEnum
  from test.unit.tasks.test_forecasting import get_simple_ts_pipeline
label_desc: Use image node_id 2 for calling a global function with example usage: test_parameters_changed_correct() without return types