modify tmepl