Update StateMatrix patch