Update manage-index.js