UpdateLegend added