Bump to 3.1.0 due to vulnerabilities