Automatically updating local data from diffs