update the hashname calculation