update product record