fixed db issue; add sync-all to sync all events