update mat_t relative definition