better card matching and update data files