add from and until to leveldb