List<UpdateAction> actions = new ArrayList<UpdateAction>();
// Convert from heap representation to our wire representation
for (com.betfair.platform.virtualheap.updates.Update u : update.list()) {
switch (u.getUpdateType()) {
case INSTALL_ROOT:
actions.add(new InstallRoot((com.betfair.platform.virtualheap.updates.InstallRoot) u));
break;
case INSTALL_FIELD:
actions.add(new InstallField((com.betfair.platform.virtualheap.updates.InstallField) u));
break;
case INSTALL_INDEX: