update domain model.