update template_upgrade sudo for ostree command