// Update with old alignment
String alignmentId = AlignmentManager.Instance().constructAlignmentId(workspace.getId(), worksheetId);
AlignmentManager.Instance().addAlignmentToMap(alignmentId, oldAlignment);
oldAlignment.setGraph(oldGraph);
try {
c.add(new SemanticTypesUpdate(worksheet, worksheetId, oldAlignment));
c.add(new AlignmentSVGVisualizationUpdate(worksheetId, oldAlignment));
} catch (Exception e) {
logger.error("Error occured during undo of unassigning the semantic type!", e);
return new UpdateContainer(new ErrorUpdate("Error occured during undo of unassigning the semantic type!"));
}