change query for searching