fixes update script