Changes the model class and the conditions class