Improve save changes time skipping loop if no changes done