public static void updateProductPrice(AbstractProductModel model, int index) {
ProductInfo pi = model.get(index);
SiteParser parser = ParserFactory.createParser(pi.getHost());
if (parser != null) {
PriceInfo newPrice;
parser.parseUrl(pi.getUrl());
newPrice = parser.getPrice();
if (newPrice.getPrice() > 0.01f
&& Math.abs(newPrice.getPrice() - pi.getPrice()) > 0.01f) {
try {
new PriceChangedDialog(pi, newPrice);
} catch (Exception e) {
}
}