I am using the Layer.ReplaceDataSource() to swap out the data source on a raster layer. This is a continuous raster. I also update the raster layer name. However, the legendItem associated with that layer does not completely update. The name changes to the new layer name, but the min and max values for the layer in the legend retain their original values. Is there a way to force this to update?