maintain delete template