change to in memory database