update edit Template Variables