update the model classes.