updated params in each class