Update type_to_hash.cpp