Update publish script.