[#138] update queryText when query is saved