Update method for retrieving text from html