update domain model