Please follow the below procedure to upgrade tensorflow.
pip install tensorflow==VERSION --user
This will uninstall the older version and will install the version you have specified.
For more details on Intel optimized tensorflow, refer https://software.intel.com/en-us/articles/intel-optimization-for-tensorflow-installation-guide
For more complete information about compiler optimizations, see our Optimization Notice.