updating npm and adding doc