update npm, analytics code.