Actually you need to disconnect both Positive and Negitive cables from the battery. After they are both disconnected, ground the Positive cable to dissipate any stray voltage. Reconnect both battery leads, Positive first, then Negitive.
Next, turn your ignition key to the "ON" position but do not start the car. The car will go through a reset process. You'll hear clicking under the hood, some dash lights will blink, and your stereo will go through a setup. This will take less than two minutes. Turn key to "OFF" position for 10 seconds.
Start the car and let it idle for 10 minutes, it might idle rough but it will stable out. Turn car off for ten seconds, then turn it back on and drive the car normal for the first 25/30 miles, do not WOT the engine.
This process will allow your car to relearn its new parameters. Any time you do anything that will effect the engines performance, you need to reset the ECU. Whether it's a CAI, spark plugs, exhaust system, etc. But still, any time you do any maintenance on your car, you should disconnect the battery. Computers hate to be shorted out Confused .