Update of sqliteSGP and outputSGP