[Change] directory api