update dir path sample of a option