2.2.1 upgrade to 3.1.3

I have a 3G-16G Iphone I am using as an Itouch. I currently is operating on 2.2.1 an is requesting an upgrade when I sign-in to Itunes. I plan to unlock and jailbrake this phone. Should I avoid the upgrade?
If I keep the 2.2.1 installed what program should I use to unlock and jailbreak my phone. Is it difficult?
http://forum.tipb.com/iphone-jailbreak-unlock/187016-you-can-not-jailbreak-3-1-3-a.html

Yes you can: Jailbreak iPhone 3.1.3 with Redsn0w 0.9.4 | Redmond Pie

BUT This is ONLY jailbreak for the 3G, NOT unlock!

Original thread: https://forums.imore.com/threads/2-2-1-upgrade-to-3-1-3.187446/