Add conditional if for combineSGP step in updateSGP