updating model classes