update pip program code example
Example 1: pip upgrade package
pip install Django -U
Example 2: upgrading a pip package while importing it
pip install [package_name] --upgrade
pip install Django -U
pip install [package_name] --upgrade