nginx 1.0.15 update nginx 1.6.2 ?

hey there. I have nginx 1.0.15 How do I update to version 1.6.2 this? Thank you.