fixing executepayment to return updated payment object