support to set attribute value