add lastest var in template