update a package with pip code example
Example 1: pip upgrade package
pip install Django --upgrade
Example 2: pip upgrade package
pip install Django -U
Example 3: update pip module
pip install [package_name] -U
Example 4: pip upgrade package
pip install [package_name] --upgrade