Fix some issue in removing curves

The plot wasn't updated ( the digest curves remains plotted without
although the curve/s was removed