make some changes to templates route