update the package for npm and library name change