Whenever an upgrade is available against your Android OS version, you can simply update it through Settings on your device. If you are using a custom ROM, you need to download the update while putting your phone through custom recovery.