fixed error in update in params