Adding saving to updateSGP
updateSGP update
Merge pull request #532 from dbetebenner/master

Refining updateSGP