private synchronized void updateAnnotations(){
this.rows.clear();
String[] knownAnnotations = MainController.getInstance().getFaceDB().getExistingAnnotations();
this.rows.ensureCapacity(knownAnnotations.length);
ClassificationTableRow unknownRow = new ClassificationTableRow();
unknownRow.annotation = Constants.UNKNOWN_FACE;
unknownRow.recognitionPoints = null;
unknownRow.rowIndex = 0;
this.rows.add(unknownRow);
for(int i = 0; i<knownAnnotations.length; i++){
ClassificationTableRow newRow = new ClassificationTableRow();
newRow.annotation = knownAnnotations[i];
newRow.rowIndex = i+1;
this.rows.add(newRow);
}