update multinodes varying number of nodes