revise model attr