Fix old/new typo in update hook