[Sprite] Refactored updated method.