modify model attr