updated the domain models