update package for npm