change controller type