update spec for unknown type