update htmlentities