add team query