update addproduct values after modifying