publish-with-relations implemented