Update SmartNode.cpp