update dbo.Connections
set RepositoryID = '00000000-0000-0000-0000-000000910BA1'
where MetaData like '%<SharedTemplate>true</SharedTemplate>%'
  and (RepositoryID != '00000000-0000-0000-0000-000000910BA1' or RepositoryID is null)