Add diff management