add switch animation
update