Merges the second set of schemas into the schemas to update. Resolves all references. If there are any errors these are thrown.