add batch_query