rename query table to search