update matrix extension