converted in-memory persister to return promises and made it the default