add deleted/restored state