Update html_output functions