write relationKBA as well