hash_sub
new_filter_hash = hash_sub(old_filter_hash, hash);
new_direct_functions = hash_sub(direct_functions, hash);