change state permission