Update to new texture management