updated SpriteSheet class