In previous versions you can make something like
scene->image_manager->device_update(scene->device, scene, p); scene->image_manager->need_update = true; scene->image_manager->tag_reload_image(hdrpath, environmentTexture->builtin_data, environmentTexture->interpolation, ccl::ExtensionType::EXTENSION_REPEAT, false);
but unfortunately, tag_reload_image is no longer available neither builtin_data, also in the past you were able to call environmentTexture->image_manager but it is no longer there.
Any tips on this? Thank you in advance.