replaced leveldb with nedb in order to persist user data through updates