update to node script