Multiple changes to upstudy queries and processing