implement updateDomain
implement createDomain