Upgrading an existing old OS to latest by command line (sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade) does the job, but is never trouble-free, both initially and later during use.
The cleanest solution to upgrade to the latest OS is to re-image microSD card with latest OS, and then install the feeders. This way one gets
everything latest.
In order not to destroy your existing installation by re-imaging, I strongly recommend to
preserve your existing microSD card as is, and do the re-imaging on a
SPARE microSD Card. This way if you get stuck with reimaging, you can always slip-out the spare microSD card from RPi, slip in old one, and power up, and your system is back to normal.
Please see this guide:
Re-imaging Made Easy.