update get current dir type