update metadata to have a string key