tests pass.
flags update and retrieve
levelup got upgraded, so leveldown has problems. fixing version