update the sprite needed