Update animation definition