update syntax in animation elements.