Update index.js

add update router