additional method for mask update
started implementing plot autodelete system