template cleaner update

updated purge cad line patterns feature