update anim/transition