update app heroku code example
Example 1: heroku git remote
heroku git:remote -a name-of-app
Example 2: how to update heroku
heroku update
#(OR)
sudo apt update && sudo apt install heroku
# to update heroku
heroku git:remote -a name-of-app
heroku update
#(OR)
sudo apt update && sudo apt install heroku
# to update heroku