modify delete cache when add note