Fixed errors in update on Product and Transaction