update node script