update spec for new metadata