Add hash to header