To simplify editing relations in a Yii 1 app