Remove and Redraw plotlines if plotlines is updated

Hello,
I add a new functionnality that redraw the plotlines if this the "plotlines" config is updated. 
Warning: It's work only if the plotlines have an "id"

Best.
Thierry