Update socode.py

Added auto-update function. Quick and dirty!
Merge pull request #43 from heinzf/master

Here's mine, auto-update