fix bug when update product