on change state(in progress)