How to update pytorch to new version?

In the website http://pytorch.org/, using pip to install pytorch is still
"pip install http://download.pytorch.org/whl/cu80/torch-0.1.12.post2-cp35-cp35m-linux_x86_64.whl ", that means the version is 0.1.12.

And in the other side, if I use source code to install pytorch, how to update it? Making the new source code means update the version?

Maybe this answer pytorch source update can be referenced.