Install the downloaded driver and restart your PC. This will automatically update your OpenGL support to the highest version your hardware allows. Hardware Requirements for OpenGL 3.1
Since OpenGL is bundled with your GPU's software, follow these steps to update it: : Opengl 3.1 Download Windows 7 64 Bit
The OpenGL API is not a downloadable software, but rather a specification that graphics card manufacturers implement. Therefore, you won't find a direct download link for OpenGL 3.1. Instead, you'll need to update your graphics drivers to a version that supports OpenGL 3.1. Install the downloaded driver and restart your PC
After updating, you can check if OpenGL 3.1 is active by using a third-party tool: OpenGL Extensions Viewer Opengl 3.1 Download Windows 7 64 Bit