updated to support subscription relationships