updated number of nodes
updated number of nodes