updated view, changed get_parent to include nested lists