upgrade docs to v3.1