Update the publish script.