Updates publish script.