How to edit the payment terms