Upgrading Help + Questions

Ok so I plug my jailbroken iphone 3g into my mac and itunes says 2.2.1 is available for upgrade. How does this work with the jailbreak? Can I just click "download and install" and it will upgrade and everything will be good or am I going to have to restore and jailbreak and everything. I keep clicking cancel right now so skip it but what should i really do.

I'm a iphone noob but i love my iphone and all the cool stuff i just dont understand it.

Also how can I clean up my iphone? I dont want it to get slow through downloading themes and apps and stuff.

whats this ssh too

edit: where do i find my apps on my computer like i saw some people talking about too

break this iphone stuff down to me people
I can answer one question. If you upgrade to 2.2.1, you will have to re-jailbreak.

Original thread: https://forums.imore.com/threads/upgrading-help-questions.169686/