updated index file in public