Fixed issue with animation not updating

Fixed issue with animation not updating