add transition
update tansition