change the way the update-orders script runs