updated bloom filter to use and when searching