How To Update Stability Matrix