update metadata for npm publish