update to HTML reading