Update controllers/index.js