update localfile.js