edit list condition