replace publish-with-relation with publish-composite