Revert "remove npm updating"

This reverts commit c27d3251b0a40ca11e7d88ed70a1219f6acaeebc.