updating match delete to work with teams