add hash to context