UPDATE `comp_acc_det` SET `amountdr` = amountdr +0, `amountcr` = amountcr +4000, `total` = amountdr - amountcr, `updatedBy` = '19' WHERE `companyID` =  '86' AND `acctID` =  '28276' AND `year` =  '2013' AND `period` =  '1'