update devDependencies and scripts
return immediately if file reading failed