edit tgm