edit file chchematrix, complete