[update] add function to cached inverse matrix