update the node cache