set attribute changed