update package for publishing on npm