Update html_writer class