updated logic to add a team to mini league if key matches