The latest version is currently 5.8.10. If you leave it connected to WiFi it will download and install eventually. If you are impatient you can download and install it yourself from
here. If you want to jailbreak your Kindle you should do so before it updates.