Added upsell amount field update and improved the output of the field update function