rename queries