Update raspbian via SSH

4 steps after you SSH into your Raspberry PI running raspbian:

sudo apt update
sudo apt dist-upgrade
sudo apt clean
sudo reboot

This is the short version of https://www.makeuseof.com/tag/raspberry-pi-update-raspbian-os/