Fixed PUT /api/template/:id - Works now!