I installed Magento2 via composer, following this guide.
Now I see version 2.1.6 is available and I'd like to upgrade. Please confirm if these commands will do the trick or what I'm missing in case they're wrong.
Note this site is in production mode
./composer.phar self-update ./composer.phar update bin/magento cache:flush bin/magento setup:upgrade bin/magento indexer:reindex bin/magento deploy:mode:set production -s bin/magento setup:di:compile bin/magento setup:static-content:deploy