update index.js 4 times