update facemc def
wrote facemc material function