Fix the HTML error when updating