change the sprite structure