refactor sync_reports