updated read for html