Removed EntityManager as parameter, updated dependencies