Update dependencies to >= 5.0