update core.matrix dep