fix path to edit template in update template