Update AnimatedSprite, add timer