For instructions on upgrading please check out the user guide:
http://docs.geotools.org/latest/userguide/welcome/upgrade.html