updated unload-texture sample