change id attribute to code for team and player