enlarge updateMetadata method