update only run the script with sudo permission