update index file and navjs