How to change a template to existing form?