edit mat grp
edit purchase