Add query in NodeService