code update index file