Updated delete and add methods in list