fix resume and npm update