updatepayment.php and updatePaymentDetails.php modified