update index with html tags