changes in queries