update index file for css and js