Panel page update ( Hook )

I don’t think this is related. If you do a $page->update() within an update hook, as soon as the page is updated, the update hook is triggered again, the page is again updated, the update hook is triggered and so on ad infinitum. So you need to find a way to get out of that loop.