update a record without changing the uploaded file in yii ?

Hi all

Please …

I need to UPDATE record with out changing or deleting filename(i mean file) , so how i can do this

here is my actionCreate How i can write update ??

public function actionCreate() {


$model = new Page;


if (isset($_POST['Page'])) {


    $model->attributes = $_POST['Page'];


    $model->filename = CUploadedFile::getInstance($model, 'filename');


    if ($model->save()) {


        if ($model->filename !== null) {


            $dest = Yii::getPathOfAlias('application.uploads');


            $model->filename->saveAs($dest . '/' . $model->filename->name);





            $model->save();


        }


        $this->redirect(array('view', 'id' => $model->id));


    }


}


$this->render('create', array(


    'model' => $model,


));

}

So Please anyone solution

Thanks

http://www.yiiframework.com/wiki/2/#c10909