delete not updating list properly