update package details for npm