how to update heroku in command line code example
Example 1: how to update heroku terminal
$ brew tap heroku/brew && brew install heroku
Example 2: how to update heroku
heroku update
#(OR)
sudo apt update && sudo apt install heroku
# to update heroku