return the new payment state in the update_payment_state, and add some spacing in the spec.