updated domain entity constraints