fix product update bug