cleanup update script