Move save output to end of update and add a outputSGP of just the added data
Fix issue when SGP_Configuration is NULL and then adding a new/temporary element