// Add the visualization update
workspace.getFactory().replaceWorksheet(worksheetId, worksheetBeforeInvocation);
c.add(new ReplaceWorksheetUpdate(worksheetId, worksheetBeforeInvocation));
c.add(new AlignmentSVGVisualizationUpdate(worksheetId, alignment));
c.append(WorksheetUpdateFactory.createRegenerateWorksheetUpdates(worksheetId, getSuperSelection(workspace)));
c.add(new SemanticTypesUpdate(wk, worksheetId, alignment));
} catch (Exception e) {
logger.error("Error occured while populating the worksheet with service data!", e);
return new UpdateContainer(new ErrorUpdate(
"Error occured while populating the worksheet with service data!"));
}