recompute hash if natural key was regenerated