updated package for npm