update hotspot report template and some functions