Changed db to inmemory