update log for npm