If you installed Yii2 with composer, then update to newest version will be easy to do.
Just simply run the following command in your project’s root directory:
php composer.phar require yiisoft/yii2 2.0.5
Or, if you want to update all installed components, simply run:
php composer.phar update
To verify if your system updated, see bottom Yii debugger: