Sync material data to main()