corner case dir update. tentatively done