implement compare_with_remote, add get sync args