updating for valid hMTL