update product resource