public function completeTransaction($transaction_id, Array $newCBDs)
    {

        $this->updateTransaction(
            array("_id" => $transaction_id),
            array('$set' => array('status' => 'completed', 'endTime' => \Tripod\Mongo\DateUtil::getMongoDate(), 'newCBDs'=>$newCBDs)),
            array('w' => 1)
        );
    }