update and prune npm