Fix issue where total does not change when adjusting the quantity when updating the po