update script broken