update animation for menu