script and tutorial tweaks, update inheritance structure fo the updateSamplingParameters method