update src/index.js comments