update config/index.js