Jerseys disappeared

I found a problem. When playing the game Sky, Europcar and BMC (or COM) don't show their jersey photos in menus or wear their jerseys during races. They wear a default white and red one.
Now the only thing they have in common for me is that when I edited my rider names in the database, I also edited something on those three teams. For Sky I changed the manager's name to read correct, for COM I changed to BMC, for Europcar I think I changed the name of the team to read correct.
So I went back in to the database to check and each time I click on one of those teams I get a little box saying "The key 0 does not exist in DYN_sponsor". So I click in the database editor to re-assign the mini-maillot for that team. It doesn't show so I find the mini-maillot file for that team but I get the following message when clicking edit to update the change "The value 30 does not exist in DYN_team_fkIDsponsor"
Can someone please help?
Now the only thing they have in common for me is that when I edited my rider names in the database, I also edited something on those three teams. For Sky I changed the manager's name to read correct, for COM I changed to BMC, for Europcar I think I changed the name of the team to read correct.
So I went back in to the database to check and each time I click on one of those teams I get a little box saying "The key 0 does not exist in DYN_sponsor". So I click in the database editor to re-assign the mini-maillot for that team. It doesn't show so I find the mini-maillot file for that team but I get the following message when clicking edit to update the change "The value 30 does not exist in DYN_team_fkIDsponsor"
Can someone please help?