update script fix