Partial update index.js