update todocontainerview with delete function