getMaterialsByStructres() updated