updated dependencies
made it using in-memory database
removed unnecessary function