Update animation for line