Updated the dev dependencies to newer versions and made the code compatible with this