update model definitions