update sendhtml()