update for data model