Added callback when diffs were changed