update query search