r2 Update parameter

Added a method to update parameters in an effect