updating MetadataRegistry cache when the metadata_registry table is modified