add nodeId to the agent info