update for Attribute