api domain model update