CFY-1373 use ctx.source/target for relationships