Here's a link to a great resource for VIN/engine numbers--if you can "understand" a bit of German:
Porsche 911 Fahrzeugidentifikation
As far as the "upgrade" to S type, that's another story for other members to offer. Just realize you have an E engine which, by many accounts, is a more drivable street engine than an S.