Update connections when a node is created.