update-script fix