update animation for links