upgrade data model