Updates HTML content