remove unneeded packages and updated others