add type element to metadata.yml