adds more relations. does not add related_entity if it does not already exist in the db