fix to rmdir and deletion of updated_children