Update the button matrix C file