refactored bulk pay to properly communicate with UpdatePayment transaction script