Bug fix in updateSGP when names are unique to state