Update to rust matser