Update hash.hpp