Improvement: Save only if there are recent changes