update db --> mem

Signed-off-by: loopasam <samuel.croset@gmail.com>