updated api to handle multiple snp searches in one query