NavMesh - runtime update - Am I doing it wrong ?

Please teach me how can i change the ai controller class? where is it?