updated cross study query