updating template compiler