update some js & index