Updating the domain models and constraints as errors pop up when running the app