Change sample string for query override