final DBBroker broker = context.getBroker();
final DocumentTrigger trigger = new DocumentTriggers(broker, col);
//prepare the trigger
trigger.beforeUpdateDocument(context.getBroker(), transaction, doc);
triggers.put(doc.getDocId(), trigger);
}
/** Fires the finish function for UPDATE_DOCUMENT_EVENT for the documents trigger
*