edit cm for tg