add enum and fixes to uid_blob::set