Adding PUT request for update template