update deleteStudy sp to update status of sub-studies when deleting a folder (fix c/o Mae)