how to edit matrix box