updated unload textures sample