automate matrix update on change