change state dir