add change state type migrate