adding status to the node