Change relations between each domain class