Update html document