list refreshed after delete as worked in class