update index with link, update contents