Updating for npm publish