removed update_diff from records