renderTemplate to render changed