update setparameters to the new function names