upgrade leveldb