update cur key on delete