Add sample for changing tempaltes.