Set Animation Attribute

Modify an animation attribute if one is found, otherwise add a new animation attribute