In order to update your device, you need to have a stable Internet connection (a WiFi connection is recommended). Go to Settings -> About phone (Phone info) -> Software update and tap Update. By doing this, your device will automatically search for official updates and install them.