updated team controller