with fix as (select guid, geometry::UnionAggregate(shape) as geom
from GeomCollection
group by guid)

UPDATE       SiteCompartmentsGeom
SET                Geom = fix.geom from
SiteCompartmentsGeom g inner join fix on g.guid = fix.guid