Updating template to delete tasks