update create_material