Update for yii2 release. Some minor fixes