Regen work when diff changes