update metadata to include name attribute.