add proper connections on nodes throw register method