update for node.js