Upgrade lmdb client to support more options