Why does "Update Configuration" in ZHA fix my unresponsive lights?

I have some lights that randomly become unreachable and stop responding to ZHA commands (I have a ESPZ stick from Sonoff) but somehow when I do “Update Configuration” in ZHA, it fixes my unresponsive devices. What is this “Update Configuration” exactly doing? Is it rebuilding the Zigbee network?