Update learning_switch_controller.erl