update products class