title: Update record in model- YII Framework
body: <p>I have profile page view where user can change the current password. By using findBySql &amp; current session I checked whether the current password is correct. But I don't know how to update the records in the model in yii framework. </p>