Try this for hints at how to do the upgrade and preserve the Jailbreak.
https://www.mobileread.com/forums/sho...&postcount=192
In particular - follow along until the point where the new (KUAL) launcher is working.
And not to worry if it all goes wrong, you can always re-install the Amazon 5.3.1 image and try again.