update delete template