update product structure