Update getQuery naming