I just needed an update hook today and the hook worked perfectly fine. So thinking about it again if found that with your hook, the panel get’s into an endless spin, because the update hook is triggered over and over again. I’m going to close the issue now.