update one case for dir