How can I change payments that are applied?

You can undo the deposit, void or delete the payment, and then recreate the payment as needed.