Removing broken code from updatePayment method