Worksheet worksheet = workspace.getWorksheet(worksheetId);
// Add the old SemanticType object if it is not null
SemanticTypes types = worksheet.getSemanticTypes();
if (oldSemanticType != null)
types.addType(oldSemanticType);
// Update the container
UpdateContainer c = new UpdateContainer();
// Update with old alignment