update Template block