uprgading npm compatibility