fix bugs when update product picture