UPDATE `comp_payment` SET `memo` = '', `amountPaid` = '566', `totalDiscount` = '0', `totalPaid` = '566', `totalApplied` = '566', `outOfBalance` = '0', `bankCharges` = '0', `totalOtherCharge` = '0' WHERE `ID` =  '143'