the correct way to update node, see the original repo I forked for details