now delete tool deletes studies or patients