Added _id to for themplate