updates html content