edit cachematrix