Update connect_node return value