TODO: respond to updates in parameter node (unfinished)
BUG: make the effect functional

fix the issue due to the change in Slicer API