update publish script