let update di = match di.di_display_line with | Classic -> () | Sophisticated ds -> update_sophisticated ds