update player and team functionality