changes picks controller for changed routes