attr ok. when attr not exist,and need add new one. not finished