added cascade delete to DataBase