update the htmls