Do not upgrade your iPhone to version 3.1 if you want to stay jailbroken
You may not able to jailbreak your iPhone if you upgrade your iPhone to version 3.1 Also, for iPhone that need to unlock (Most of the iPhone beside Hong Kong version), please do not upgrade your iPhone or you may not able to make phone call.