Update paramaters