check during sync to avoid overwriting local changes. working on photo sync