You can only update to 5.1.1 if you have your SHSH blobs saved...5.1.1 would be the preferred firmware to be on, as it's an Untethered jailbreak....unlike 6.0.1 which is Tethered (unless your 3GS is an "Old Bootrom" model which allows it to be an Untethered jailbreak)