add code for updating UI after partition deletion is requested