Change relations between entities