When updating the permission of a pipeline, the wholelist is loaded and append to the current list; thismakes duplicates in the display