Updating hook and script handle