changes teams controller for changed routes