update with params