slowly updating index.js