add resource handle for material