hopefully fixed the update script