Change localstore data to leveldb