change templates with draggable