add source hash for key