remove unnecessary stuff from update script