Call filter multiple times after changes on slider property

I compiled a filter which works with a slider value and a Python script.
The first time I run the filter it works fine.
Then, if I change the value of slider and do “Apply” the filter doesn’t work anymore; the Python script is executed but the Pipeline doesn’t update.
How can I update the pipelines sources that depends from the filter?

Thank you in advance

Alberto