"Warning: heroku update available from 7.47.6 to 7.51.0." code example
Example: Warning: heroku update available from 7.47.4 to 7.47.5
heroku update
# this command will update heroku cli
heroku update
# this command will update heroku cli