update for html parsing