Add material id config for each blocks