replace query to querybuilder