fix update product bug