update for smooth anim