Update mattcore