add query in crud