pass all data to sync